package org.brisling.duties.domain;

import java.util.Date;

import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 
 * 职能监控事项实体类
 * @author : jackson wang
 * @Date   : 2015年10月8日 下午10:01:07
 * @version: 1.0
 * 
 */

public class ExecuteMonitor {
	
	
	/*
	 * 唯一标识
	 */
	private String identify;
	/*
	 * 事项编号
	 */
	//private Long sxbh;
	private String bizno;
	/*
	 * 申请日期
	 */
	//@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	//private Date sqrq;
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date apply_date;
	/*
	 * 事项类别
	 */
	//private String sxlb;
	
	private String bizcode;
	
	private String bizname;
	
	/*
	 * 事项名称
	 */
	//private String jtsx;	
	private String name;
	
	/*
	 * 当前环节
	 */
	//private String dqhj;
	private String flowid;	

	private String flowName;
	
	private String flowInstId;
	
	
	private String flowTaskId;
	
	private String flowState;
	
	/*
	 * 申请科室
	 */
	//private String sqks;
	
	
	private Long apply_deptid;
	
	private String apply_deptName;
	
	//当前环节用户及部门
	private Long current_userid;
	private String current_username;
	
	private Long current_userDeptid;
	private String current_userDeptname;
	/*
	 * 申请人
	 */
	//private String sqrname;
	private Long apply_id;
	private String apply_name;
	
	
	/*
	 * 申请时间
	 */
	//@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	//private Date sqsj;
	
	/*
	 * 执行耗时
	 */
	private Integer over_days;
	
	
	/*
	 * 执行耗时
	 */
	@Transient
	private Integer over_hour;
	
	/*
	 * 事项状态
	 */
	//private String sxzt;
	
	/*
	 * 事项类别
	 */
	//private String issue;
	
	
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date start_time;
	
	//@JsonFormat(pattern="yyyy-MM-dd")
	private Date end_time;

	public Date getStart_time() {
		return start_time;
	}

	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}

	public Date getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}	

	public Integer getOver_hour() {
		return over_hour;
	}

	public void setOver_hour(Integer over_hour) {
		this.over_hour = over_hour;
	}

	public Integer getOver_days() {
		return over_days;
	}

	public void setOver_days(Integer over_days) {
		this.over_days = over_days;
	}

	public Date getApply_date() {
		return apply_date;
	}

	public void setApply_date(Date apply_date) {
		this.apply_date = apply_date;
	}

	public Long getApply_deptid() {
		return apply_deptid;
	}

	public void setApply_deptid(Long apply_deptid) {
		this.apply_deptid = apply_deptid;
	}

	public String getApply_deptName() {
		return apply_deptName;
	}

	public void setApply_deptName(String apply_deptName) {
		this.apply_deptName = apply_deptName;
	}

	public String getBizcode() {
		return bizcode;
	}

	public void setBizcode(String bizcode) {
		this.bizcode = bizcode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFlowState() {
		return flowState;
	}

	public void setFlowState(String flowState) {
		this.flowState = flowState;
	}

	public String getFlowTaskId() {
		return flowTaskId;
	}

	public void setFlowTaskId(String flowTaskId) {
		this.flowTaskId = flowTaskId;
	}
	
	public Long getApply_id() {
		return apply_id;
	}

	public void setApply_id(Long apply_id) {
		this.apply_id = apply_id;
	}

	public String getApply_name() {
		return apply_name;
	}

	public void setApply_name(String apply_name) {
		this.apply_name = apply_name;
	}
	
	public Long getCurrent_userid() {
		return current_userid;
	}

	public void setCurrent_userid(Long current_userid) {
		this.current_userid = current_userid;
	}

	public String getCurrent_username() {
		return current_username;
	}

	public void setCurrent_username(String current_username) {
		this.current_username = current_username;
	}

	public Long getCurrent_userDeptid() {
		return current_userDeptid;
	}

	public void setCurrent_userDeptid(Long current_userDeptid) {
		this.current_userDeptid = current_userDeptid;
	}

	public String getCurrent_userDeptname() {
		return current_userDeptname;
	}

	public void setCurrent_userDeptname(String current_userDeptname) {
		this.current_userDeptname = current_userDeptname;
	}

	public String getFlowid() {
		return flowid;
	}

	public void setFlowid(String flowid) {
		this.flowid = flowid;
	}

	public String getFlowName() {
		return flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public String getFlowInstId() {
		return flowInstId;
	}

	public void setFlowInstId(String flowInstId) {
		this.flowInstId = flowInstId;
	}

	public String getBizname() {
		return bizname;
	}

	public void setBizname(String bizname) {
		this.bizname = bizname;
	}

	public String getBizno() {
		return bizno;
	}

	public void setBizno(String bizno) {
		this.bizno = bizno;
	}

	public String getIdentify() {
		return identify;
	}

	public void setIdentify(String identify) {
		this.identify = identify;
	}
	
	
	
}
